.class Lcom/waiqin365/lightapp/dailyreport/ap;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/dailyreport/ap;->a:Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4

    const/4 v3, 0x0

    move v2, v3

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/ap;->a:Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;->e(Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getChildCount()I

    move-result v0

    if-ge v2, v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/ap;->a:Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;->e(Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v1

    move-object v0, v1

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/ColorTrackView;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/dailyreport/view/ColorTrackView;->setDirection(I)V

    if-eq v1, p1, :cond_0

    check-cast v1, Lcom/waiqin365/lightapp/dailyreport/view/ColorTrackView;

    const/4 v0, 0x0

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/dailyreport/view/ColorTrackView;->setProgress(F)V

    :goto_1
    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto :goto_0

    :cond_0
    check-cast v1, Lcom/waiqin365/lightapp/dailyreport/view/ColorTrackView;

    const/high16 v0, 0x3f800000    # 1.0f

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/dailyreport/view/ColorTrackView;->setProgress(F)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/ap;->a:Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;->f(Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;)Landroid/support/v4/view/ViewPager;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/support/v4/view/ViewPager;->setCurrentItem(I)V

    goto :goto_1

    :cond_1
    return-void
.end method
